
<?php
    function getmaxorder($stuno)
    {
        include("../functions/db_conn.php");
        $sql="SELECT * FROM StuSoci WHERE StuNo='$stuno'";
        $result=mysql_query($sql);
        $maxorder=mysql_num_rows($result);
        return $maxorder;
    }
?>
